#pragma once
#include "TableNode.h"
typedef int INTEGER;

typedef string STRING;
typedef bool BOOLEAN;

using namespace std;

class ProcTable{
private:
	vector<TableNode> _table;
	INTEGER _size;
	INTEGER _type;
	INTEGER _linNum;
public:
	ProcTable();
	INDEX insertPro(STRING proName);
	INTEGER getSize();
	STRING getProName(INDEX index);
	INDEX getProIndex(STRING proName);
	BOOLEAN hasPro(STRING proName);
	BOOLEAN setProStartLine(INDEX index,INTEGER startLine);
	BOOLEAN setProEndLine(INDEX index,INTEGER endLine);
	INDEX getProStartLine(INDEX index);
	INDEX getProcEndLine(INDEX index);
};